$(function(){
    $(".items-left1").mouseenter(function(){
        $(".family-border1").css("border","3px solid #3aa5c5").css("opacity","1");
    })
    $(".items-left1").mouseleave(function(){
        $(".family-border1").css("border","1px solid #999").css("opacity","0.2");
    })

    $(".items-right1").mouseenter(function(){
        $(".family-border2").css("border","3px solid #3aa5c5").css("opacity","1");
     })
     $(".items-right1").mouseleave(function(){
        $(".family-border2").css("border","1px solid #999").css("opacity","0.2");
     })

     $(".items-left2").mouseenter(function(){
        $(".family-border3").css("border","3px solid #3aa5c5").css("opacity","1");
     })
     $(".items-left2").mouseleave(function(){
        $(".family-border3").css("border","1px solid #999").css("opacity","0.2");
     })
 
     $(".items-right2").mouseenter(function(){
        $(".family-border4").css("border","3px solid #3aa5c5").css("opacity","1");
      })
      $(".items-right2").mouseleave(function(){
        $(".family-border4").css("border","1px solid #999").css("opacity","0.2");
      })
})